//
//  AddAlipayTVCell.m
//  Logistics
//
//  Created by enzhoukeji on 2018/8/11.
//  Copyright © 2018年 puyue.com. All rights reserved.
//

#import "AddAlipayTVCell.h"

@implementation AddAlipayTVCell

-(void)loadViews {
    self.realNameLabel = [UILabel labelWithSize:[UIFont systemFontOfSize:15] withColor:[UIColor blackColor] withText:@"维修付款"];
    self.linLabel = [UILabel labelWithSize:[UIFont systemFontOfSize:15] withColor:[UIColor blackColor] withText:nil];
    self.linLabel.backgroundColor = [UIColor grayColor];
    self.testFl = [UITextField new];
    self.testFl.tintColor = [AppStyleConfiguration ColorWithTextOne];
    self.testFl.textColor = [AppStyleConfiguration ColorWithTextOne];
    self.testFl.font = [AppStyleConfiguration appFont:14];
    [self addSubview:self.realNameLabel];
    [self addSubview:self.linLabel];
    [self addSubview:self.testFl];
}
-(void)layoutViews {
    [self.realNameLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.mas_equalTo(0);
        make.left.mas_equalTo(GTFixWidthFlaot(5));
        make.bottom.mas_equalTo(0);
        make.width.mas_equalTo(GTFixWidthFlaot(60));
    }];
    [self.linLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.mas_equalTo(GTFixHeightFlaot(5));
        make.left.mas_equalTo(self.realNameLabel.mas_right).offset(GTFixWidthFlaot(1));
        make.bottom.mas_equalTo(GTFixHeightFlaot(-5));
        make.width.mas_equalTo(0.5);
    }];
    [self.testFl mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.mas_equalTo(GTFixHeightFlaot(5));
        make.left.mas_equalTo(self.linLabel.mas_right).offset(GTFixWidthFlaot(10));
        make.bottom.mas_equalTo(GTFixHeightFlaot(-5));
        make.right.mas_equalTo(GTFixWidthFlaot(-10));
    }];
}

@end
